package com.miyu.system;

import com.blinkfox.fenix.EnableFenix;
import com.blinkfox.fenix.jpa.FenixJpaRepositoryFactoryBean;
import com.feiniaojin.gracefulresponse.EnableGracefulResponse;
import com.miyu.plugins.baseDao.MiyuRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.web.config.EnableSpringDataWebSupport;

import static org.springframework.data.web.config.EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO;

//@EnableFenix
@EnableSpringDataWebSupport(pageSerializationMode = VIA_DTO)
@SpringBootApplication(scanBasePackages = {"com.miyu.*"} )
@EnableGracefulResponse
@EnableFenix
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }

}

